import express from 'express';
import controller from './controller';
import {authorizeHandlerNormal} from '../../middlewares/authorize';
// 定义订单模块接口路由
export default express
  .Router()
  .post('/create', authorizeHandlerNormal, controller.create)
  .get('/list/get', authorizeHandlerNormal, controller.get)
  .get('/update', authorizeHandlerNormal, controller.update);